<script type="text/javascript" >
  var refinery = window.refinery || {};
  refinery.current_admin_locale = '<%= current_admin_locale %>';
</script>
<%= javascript_include_tag 'admin' -%>
<%= javascript_include_tag 'refinery/refinery' -%>
<%= javascript_include_tag 'refinery/application' -%>
<% visual_editor_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= yield :after_javascript_libraries -%>
<% custom_javascripts.each do |js| %>
  <%= javascript_include_tag js %>
<% end %>
<%= yield :javascripts %>
